/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.entity;

import java.util.HashSet;
import java.util.Set;

/**
 *
 * @author DELL
 */
public class Teacher {

    private Integer tid;
    private Integer age;

    private String email;
    private String tel;
    private String teaId;

    private String tpassword;
    private String tname;

    public Teacher() {
    }

    public Teacher(String tel, String teaId, String tpassword, String tname) {

        this.tel = tel;
        this.teaId = teaId;
        this.tpassword = tpassword;
        this.tname = tname;

    }

    public Teacher(Integer age, String email, String tel, String teaId, String tpassword, String tname) {
        this.age = age;
        this.email = email;
        this.tel = tel;
        this.teaId = teaId;
        this.tpassword = tpassword;
        this.tname = tname;

    }

    public Integer getTid() {

        return this.tid;

    }

    public void setTid(Integer tid) {

        this.tid = tid;

    }

    public Integer getAge() {

        return this.age;

    }

    public void setAge(Integer age) {

        this.age = age;

    }

    public String getEmail(){
        return this.email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getTel() {

        return this.tel;

    }

    public void setTel(String tel) {

        this.tel = tel;

    }

    public String getTeaId() {

        return this.teaId;

    }

    public void setTeaId(String teaId) {

        this.teaId = teaId;

    }

    public String getTpassword() {

        return this.tpassword;

    }

    public void setTpassword(String tpassword) {

        this.tpassword = tpassword;

    }

    public String getTname() {

        return this.tname;

    }

    public void setTname(String tname) {

        this.tname = tname;

    }

}
